//
//  ControlTemplateViewTextViewController.h
//  Uhomebk
//
//  Created by 揭婧雯 on 17/3/3.
//  Copyright © 2017年 com.segi. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BaseTextView.h"

@protocol ControlTemplateViewTextViewControllerDelegate <NSObject>

-(void)onFeeRefeshUI;

@end



#pragma mark -
#pragma mark 多行文本框控件【textarea】
@interface ControlTemplateViewTextViewController:UIViewController<UITextViewDelegate>
{
    BaseTextView *contentText;
    NSInteger maxString;
    UILabel *msgLabel;
}
+ (ControlTemplateViewTextViewController *)sharedManagerTextView;
@property (nonatomic,strong) UIViewController *masterVC;
@property (nonatomic,retain) NSDictionary *params;
@property (nonatomic,strong) UIView *bgMainView;
@property (nonatomic,weak) id<ControlTemplateViewTextViewControllerDelegate> fundelegate;

@property (nonatomic, strong) NSString  *param_id;      /**<控件param_id*/
@property (nonatomic, strong) NSString  *optional;      /**<是否必填 0-必填 1-非必填*/
@property (nonatomic, strong) NSString  *valueStr;      /**<控件的输入值*/

/**
 *  给控件填充值
 *
 *  @param valueStr 接收字符串值
 */
-(void)paddingTextView:(NSString *)valueStr;

@end
